package org.small.shop.phone.api.process.goods.mapper;

import java.util.List;
import java.util.Map;

import org.small.shop.phone.api.MyMapper;
import org.small.shop.phone.api.process.goods.pojo.GoodsInfo;
import org.small.shop.phone.api.process.goods.pojo.TblWxGoods;
import org.small.shop.phone.api.process.goods.pojo.WxShowGoodsVo;

public interface TblWxGoodsMapper extends MyMapper<TblWxGoods> {

	List<WxShowGoodsVo> selectGoodsListByType(WxShowGoodsVo goodsVo);

	Integer selectGoodsByTypeCount(WxShowGoodsVo goodsVo);

	List<WxShowGoodsVo> getGoodsListPopularSelling();

	TblWxGoods selectGoodsByGoodsId(Integer goodsId);

	GoodsInfo getGoodsInfoByGoodsIdAndSkuId(Map<String, Object> map);
}